<!--
 * @Author: zhang gen yuan
 * @Date: 2021-06-07 16:54:44
 * @Descripttion: 
-->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <script src="./vdom.js"></script> -->
    <script src="./Element.js"></script>
    <title>Document</title>
</head>
<body>
    <div id="app"></div>
    <script>
        let vdom = createElement('ul',{class:'ul-list'},[
            createElement('li',{ class:'item' },["彭于晏"]),
            createElement('li',{ class:'item' },["谢霆锋"]),
            createElement('li',{ class:'item' },[
                createElement('input',{value:'1111'},['22222'])
            ]),
        ])

        renderDOM(render(vdom),document.getElementById('app'))

    </script>
</body>
</html>